package cn.dao;

import java.sql.Connection;
import java.sql.SQLException;

import cn.pojo.BlogList;

public interface BlogListDao {
	/**
	 * 添加博客
	 * @throws SQLException 
	 */
	Boolean addBlog(Connection connection, BlogList blog) throws SQLException;
	
	/**
	 * 删除博客
	 * @throws SQLException 
	 */
	Boolean deleteBlogByBlogId(Connection connection,Integer blogId) throws SQLException;
	
	/**
	 * 更新博客
	 * @throws SQLException 
	 */
	Boolean updateBlog(Connection connection, BlogList blog) throws SQLException;
	
	/**
	 * 分页查询
	 */
	
}
